package com.example.mybatisplus.model.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * ����Ա��Ϣ��
 * </p>
 *
 * @author lxp
 * @since 2023-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AdminInfo对象", description="����Ա��Ϣ��")
public class AdminInfo extends Model<AdminInfo> {

    private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "����Ա���")
    @TableId(value = "admin_id", type = IdType.AUTO)
    private Long adminId;

            @ApiModelProperty(value = "����")
    private String adminNum;

            @ApiModelProperty(value = "ְ��")
    private String adminProfession;

            @ApiModelProperty(value = "����Ȩ��")
    private Integer adminAccess;

            @ApiModelProperty(value = "����")
    private String adminName;

            @ApiModelProperty(value = "����")
    private String adminAge;

            @ApiModelProperty(value = "�Ա�")
    private Integer adminSex;

            @ApiModelProperty(value = "У��")
    private String adminAddress;

            @ApiModelProperty(value = "�绰")
    private String adminPhone;

            @ApiModelProperty(value = "����")
    private String adminPassword;

            @ApiModelProperty(value = "����״̬")
    private Integer adminWorkStatus;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


    @Override
    protected Serializable pkVal() {
        return this.adminId;
    }

}
